corrected ill destructor