fixed the rest of the destructors