Fixing minLength error message