fix a bug with the config parser