fixed bug about multibyte characters in the URL