upgrade error fix