directory fix