Fix core route_spec