fix ChainMapper/ChainReducer