fixed data generation errors