fix duplicate names