check if href_params are empty before appending to href