Fix savedCmd.