fix error message so it shows correct event name