move duplicate tags caused by merge