fix bug in OutputRunCasConsumer