remove name if parent has same name