bugfix for Logic Operation Support #4