Fix context save issue.