fix ini modification when extensions are already present