delete temp object