Only the last variable updated is saved

In your code you have both the casting node and the create save game node promoting to the same variable, how would i do that? (sorry for asking such basic questions)