dir path fix