removed unused variable in EventStoreWrapper