unknown type name ‘Bool’

fixes the issue with the same title