max_len typo