renaming dom dir