fix event core emit method arguments handling (invalid placement of spread operator)