[fix] Quick fix for mainEvent creation