cut off anker from url by first cancel