corrected LOG_ERR for LOG_ERROR