fixed error

error was that the vailadition was failing, but still generation table
Merge pull request #21 from andrewdibiasio6/master

fixed error