fix log level bug