- fixed getDomain() call on undefined object reference