Fixed addrmevent snippet.