finish getModules and modSize