Fixed error in table2