changed implementation of global settings