fix return reduction