fixed bug that would throw an exception when trying to load an integer f...

...rom the settings