small fixes about textures