Fixed broken usage of global settings