clear url before edit