load and save session fix