fix settings.json bug