Fix the problem with iterate table