ECDR-XX: Fixing a spelling error and correcting variable naming.