Fix invalid read in ROC vs. TEMP