Bug fix: sate -> state.