subdirectory cache fix