log_warn and log_error fix