fixed event hash functions