fixes the last of the demos, closes #83