changes to event class to prevent errors

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>