[bug] Typo: setState should be getState
Close #3385