config: avoid index geretion

Signed-off-by: Stephan Linz <stephan.linz@clondiag.com>