Fixed upgrade issue.