toggle effect bug fixed