fixes for game xml saving