fixed Port::removeLink