fix url with encodeURIComponent