fixing simulated datasets