Fix the url encoding