fixed stupid urlencode bug