improve UrlEncode/UrlDecode