remove error_log calls