removing wire on mouseup