cleaning up of modules