fix config file index;