before delete carousel