adding replace on element config items