reading correct values for last log