fix bug when no settings are present in LS