a final tweak of cube-demo