Fixed bugs in generator