Directory fixing