fix smoothstate
typo