remove extra modules