fix escape in command mode