remove duplicate events