fix minor bug when reading config