fix toggle