fixed: urlencode bug