fixed icon toggle bug