Fix cornercases with link emulation