fix toggle works on public