housekeeping of submodules