fixed config file passing