fix wait for boot and check instance