bug fix in temp logging change