delete only tags if they exist