fixed typo with eventStack