fixed boolean parser