Fix config file parser