fix a small bug in the parse-config script