more fixes for textures