fix to work generate project

thanks to  @fukaz55
https://twitter.com/fukaz55/status/495166852767563777