save point before leaving.