fixed bug in settingsJSON