Fix generator backend

A variable was not correctly initialized in the default constructor.
Merge pull request #139 from serge-sans-paille/generator-init

Fix generator backend