Remove nodeHasViolation var