fixed another domain detection bug