fix icon toggling