texture conversion and load fixed