fix in upgrade plan