Fix typo in code example

Corrects small error in the FSM example