remove dead component