Fixed root dir/atom for subdir case