improved app reset