fix erase lose error