fixed #238 url encoding issue