fix merger and accumulate