fixing bug in metaStreamEvent add logic