fixed some details

added destructors