fixes to texture