remove outdated code