remove obsolete entries