fix overflow in tables
Merge pull request #32 from Romsters/master

Fix overflow in tables (Reviewed)