reset sample_dir