prevented logging of unhelpful errors in validation