Fix unsafe erase.
Merge pull request #182 from logzero/erase

Fix unsafe erase.