tpe bugfix for cifar