Erase error caused by merging