correction of directories