make +logical convert to integer