allow bool for boolean