remove outdated lines