cleaning up getRouteByContent, cs fixes