added validation on root domain closes #1 and #2