remove repetitive index setting in config template