bug in dummy data generation