moved enable constraints to begin block