clean up local_settings