Fixed erase error