fixed texture and name loading