fixed config file problems