Minor bug fix in event response