bugfixes in the toggle_bubble stuff