cleanup / bug fix in server root route.