modify emulator