fixed wrong validationerr