fix parsing problem in read_config