bugfix boolean to bool