Fix duplication entry of contacts