removing dup in allEvents key