fix local_settings