remove cfg useless assignation