Fix arguments to event on.