fix usage of external config file