fix bug in reading unexisting config file