Fix generator backend

A variable was not correctly initialized in the default constructor.