[DEBUG] solve the bug of the function clean_no_data_tensors