fixes for a lot of routes and models.