fix ordering of modules for label