fix metadata cannot list files in folder