fix tiles upgrade issue.