some bug fixes and named routes.