bugfix for pi/demo/index.html