fix the getState missing
Merge branch 'maint-1.0.0'