fixed mismatch while generating sample data