Little emulator fix