Fixed config parser bug introduced with code reformat