addConstraint refactor
Catch wrong comps