history clear url fixes