remove useless routes