bug with erase