Fix bug drop old table (upgrade)