fix syntax error in url_encode()