Fix generator backend

A variable was not correctly initialized in the default constructor.
This should fix #137