FIXING ISSUE IN TextureHelper