fixed texture problems