remove non-exist modules