Fix table bug

issue no. 3030