fix problem with loading of settings