fixed a compilation error in the examples. that was embarassing