Fix internal newtbl error leaking outside