fixed config file issues