fix in tex2Darrays