correct use of config