correcting settings retrieval to Settings.first