fix input selection with operators