fixed issue in which [dot] was coming with domain name