fix state indexing
Merge pull request #585 from mozilla-japan/fix_state_indexing

fix state indexing