checking global options