Fix encoding args into URL