control stress application
fix some errors