fix stale merged id problem.