remove config from main file