Fixed invalid settings ref.