a little aggressive on our state field validation
Merge pull request #10 from ordrin/dev_felix

a little aggressive on our state field validation