fix removeConnection