Do not use global vars for local command line options
Fix warninFix warningg