solve table issue