fix broken examples

Closes #193.