fix crash on malformed config file in release mode