fix a bug in reductions with non-numeric types