core: implement delete cell