untangling tortuous bond config logic