empty an element.