fix config file keys were not being used