Corrected Event creation bug