Fix an error when loading a configuration specified by the config input
#2147
+158
−23
config input
#2147