bugfix in cifar intermediate2