remove extraneous call to addConstraints.