slight thread ct revision
fix James's file-clobbering issue