feature: add specified address for connecting and fix some bugs