remove erro_log and add urlencode