cleanup of modules