remove several modules
restore modules