Fix config if value is not string