ironed out bugs in the config parser