fix the problem that encode_www_form is not available on servers