fix for query urlencode