state fix
Merge pull request #46 from dckesler/master

state fix