fixed small destructor error