data_simulator bug fixed