add function of forcing page not go back