Fix some bug and port check result add to bootstrap