fixed error

error was that the vailadition was failing, but still generation table