debug problem with urlencode