fixed url encoding error