making the app stable