restore url from hash