avoid hitting ex mode