Fix some more bugs in the generator examples
Aargh! minor fix