add textures
fix heap corruption