fix table none type bug