fixed branching in emulator