thanks for the answer..
I just reduced my work to show the problem and provide a minimal compilable tex.
So I compiled ....and..it now works correctly.

I expect there is a problem in the content.
NEW: TikZ book now 40% off at Amazon.com for a short time.