fix maxLen again