modify the bug in originalEdit