Fix unregister_setting call