FIX log level compare error