remove node and join links