bug fix for Config file