straightens out multiple legs toggles
again, normalizing the id structure for multiple legs containers