Try to fix corner case in mgd1 emulation