fix a directory bug
fix a directory bug