fix in the demo.js