If I remember correctly, there were about 7 things that had to be set correctly to avoid setting off the TOCW:
Aileron upset armed
Tail trim in the takeoff range
Spoilers retracted
Flaps at Takeoff
and then some other stuff that I've forgotten.........