fix error_log file