removes outdated routes