application: _client -> _state_client
application: debug in _write_state, not info