construct url_hash