Fix typo
Ensure data_dir is managed