fixed boolean case