fix bugs of CheckKafka