fix bug with simData()