fix hardcoded state field name
Merge pull request #5 from titusz/fix-hardcoded-state-field-name

fix hardcoded state field name