remove duplicated config initialization