Fix error cannot display survival analysis plot and download result. Root cause was duplicate global variable naming.