Fix to config parser