fix check_use_emulator "logic"