remove disabled modules from assembly