Hi Dan, Thanks for you reply. Upgrade is a good idea to solve this problem completely, we will consider that. But I think before that I need to have some internal evaluation and discussion in my team. Currently I will try to change the do-while to while-do to see whether it works for my situation.