fixed texunit change