fix for route() when route_map is uninitialized