remove unused element.