Fixed bug REPLACEDOMAIN.