fixed save session feature.