maxlength 10 error corrected