fix the subdirectory