delete temp attach finish