timeWindowMax typo