fixed boolean printing