fix errors created by route changes