fixed url encoded history