FIXME try to set active port but failed :(