removing legacy modules