handle the root domain correctly