fix link removal for new connections