fixes for -c config file option