fix undeclared variable
fix corrupted table
Merge pull request #1 from berendeanicolae/master

Fix files