fixed gloabl option value error (become true) when not defiend