fix toggleButton