remove modules to re-add them later