fixes #269 (added a decodeURIComponent for good measure too so it seems to actually work again now - yay!)