Solved the table repeating problem.

Now the window size increases by one line. try to solve it.