how about use `element.remove()` here?