and delete detail