Fixes bad encoded URL