sweep out useless routes