table generator fix issue #126 #125