fix config dependency