improve getDomain()
0.2.0 release