repaired sub-dir-problems