merge() and erase() in progress, a bug fixed;