fixes esc event listener removal