fix raise error if config file includes comments