clean up module loading