add flag to the header of tranfer unit