fix tag repeat