unescaping and correctly generating urls
sim changed