more sane default for nonexisting max_len