handle hash fragments in urls