fixed timing issue on eventstorage initialization