modify erase method