Fix get last save code