directory bug