Fixed not working session invest save and restore