revised conditional sauce logic to be less brittle