refactor domain name