Fixed bug with processing config file