bugfix: bool for case statements