Fix segfault bug in RouteTracer