fixing toggles