fixed issue with string indexing for root_domain