fixed fun scan_dir_list