more fixes for Reduce