fix bugs about stress testing.