class toggle bug removed