fix generator doc block #303