tweaks to the url encoding