modify gen
Merge pull request #93 from kuyoun/7_X_Y

modify gen