fix upgrade script
rm superfluous whitespace