fixed use of config