Fixing the issue with local_setinngs