Fixed issues with config file