s/self.maxlength/self.maxlen