eliminate ex mode