Fixed a warning in the demo project