SubDomains function bugfixed
Merge pull request #926 from xuewuhen/master

SubDomains function bugfixed