fixing event store client