removed repeat nodes for filtering