cleanup on the modules conf.