refator thread info