fixed setState bug
fixed state bug
Merge pull request #6 from calfjohn/master

fixed setState bug