Fixes maxlength