fix history URL