removing duplicate entry on dict