fix generate project failed
Merge pull request #385 from kennedy-han/master

fix generate project failed