fixed a directory bug