fix in threshold logging messages