writing events to local store
remove streamStore