fix for loading settings