support state manage
v0.4.1