ambiguity of bool