clean up structureLoader