destructors fixed