fix states demo
remove old code
Merge pull request #306 from fippo/fix-states

states demo: