toggle button bug fix