edited maxlength for inputs