get examples running again

Fixes #512