simulator fix