Fixed bug user being able to terminating whith esc