fixing rewards state save/load