Fixed a bug with global settings options