cleanup tag insert