typo
fixed #51
typo
currentState field is nullable