fix bool definition