Fixed consumer runtime exception issues