fix loading of global settings