fixed directories error