fix issues with non existant routes