fix routing issue

It's difficult to discern what kind of data is held in the "path_route_result" variable. Can you improve the readability here a bit?