remove view esc function