fixed global options application