Fix inconsistent event param

Looks like PR1319 had an inconsistent variable name for the event param.