fixed url encoding issue