catch IOError when config not exists