Hi David,
Thanks for attention.
I have been troubleshooting this problem for a while, I also modified a part of code, looks like it might fix the problem. Of course, I'm not yet sure if my modification is the best approach.
If need more information from me, please contact me.
Regards