fix bug with internal settings
Merge pull request #970 from dimagi/area-fix

fix bug with internal settings