make gBootOptionList as global variable