bug about finding existing tags with same name