Bugfix in upgrade page