move config dependency