cancel goback function