fix config when no file supplied