fix returning to previous page because of 'backspace'