removed some bugs in the texture file