use path table in switch_path