Fixed exit by Esc