Fixing event category bug