remove edges