fix typo related to boolean handling