Corrected getting the settings in uppercase.