debugged xiehang  (OTL this is incredible hard...)