fix hs-minor-mode bug