better validation error log