simplify bool handling further