fixing bug that caused all values to be logged against temp