purposes subdir fix