fix assigning duplicate tags