Indeed, as start you might wanna read this post here which explains how to ask a good question:
but for now back to you problem:
That shouldn't happen. As a test you can try to remove name: "Z1" and only keep the id: "Z1" to see if it makes a difference.
the indentation/spacing is wrong in your yaml snippet btw.