fix bug if domain name is co.uk and others