delete old elements