Bug fix.
add generated code
Merge pull request #87 from ainilife/master

add generated code