everything seems fine except that the first dt are not completely deleted