remove leftover code on unused validation-error

That was the first concept that was used