Thanks for your reply!
I have updated the code snippet.
I also tried to use a runable test code to reproduce the bug but failed.
I also updated the test code, I hope this could be help.
Thanks again for your kind help