fixed reduce reduce