fixes the domaindir move