VAT : fix issue when generating writing