prevent esc delay