fixed port and stuffs in xbctl