imple ip/domain hint and some fixes
in progress