Fix config
cleaning code