Revert "fix when no bastion"

This reverts commit 7c870b48ad58d44071679410f15c9cec5b06150e.