fix toggle demo