directory bug fixes
directory bug fixes