minor fix to events