fix toggle button