I tried a very tiny toy example. The output seems to be correct. There is no such problem in the tiny example. Since there are around 5 files even in this tiny example, I cannot copy all of them here.
Thanks very much. I will try to debug a little.