fix bug with cloning gamestate