add critical in train_full cause delete[] in reset