delete unused element.