Fixed table errors