table fix blow up when creating key or tag on deleted records