hsdt: hs type corrections, node flags figured out