fix read global config bug
0.3.1