fix for the toggle stuff