fixing simulator