Undodir path corection