fix onDelete even