fixed typo in maxlength changed to max_length