fix weight toggling