fixed bug with collectorEvents assigned to wrong memory space