Fixed a bit of table stuff