fix boolean in qoq