Fix urlencode function (needed quote)