duplicated config fix

commit from BitBucket