removed directory bug