check errors before validating
 issue 1141 in ontwikkeling
fix issue 1141