detect if no config file