added check if any routes are defined at all