fixed bug in config file parsing

fixed bug where we got back a list and expected a single variable