fix(index): use default when there is no config files