Table Class fix part 3

Fixed the table constructor in the table class.