correcting dir