fix error: repetitive index setting in config template