fixed error in 0s for failed tables