better table errors