web demo fix, closes #1002