fixed directory bug.