[fix] added missing enable macro
[fix] fixed generator data initialization