use dpid_to_str in some places