dedupe dependencies, config adjustment