fix #6 : use ['NAME'] instead of ['name'] to find duplicates