fix tag addition