fix incorrect work with domain names that more than 3 symbols