some changes to allow gltf to load