working on fix texturing bug