fixed Reduce node
more fixes for Reduce
fix for color not reflecting element state