removed simulator detection