Fixing the demo code according to the last syntax evolves.