fixed broken log level filtering