why `e.im.state.name` and `e.state.name` in other places?