Fix data generator.