fix for killing emulator