typo in a few threaded scripts