set default states onDestroy