fix to settings retrieval