Fix states init issue
0.3.5