fix bug for event argument reference