fix the empty config error