remove data_sample when done