[trivial] demote Boolean to primitive