change LOG_WARN to LOG_WARNING as that was wrong