fix: global settings and local settings