fix wrong compare log level