addViolation bugfix