logicaBinary fix