Fix some bug and port check object add for bootstrap