fixed use of derprecated config