handle events created with same type and same time