remove config dependency