fixed for has not keys in table bugs.
Merge branch 'master' of https://github.com/jongha/spgen