fix boolean litaral bug