fixed parser boolean bug