fix hs-mode setting