fix bug in OutputtRunCasConsumer