fix a runtime complaint for the example project