fix for textures