rename state to stateful to fix #328