Handle duplicate names