Fixed tech amount on upgrade issues