fix to find config file