data upgrade fix