removes unwanted module