fix removeMajor