fix aiting for emulator