fix local setting