fixed url generation for hit