minor bug fix in old stress testing script