fixing collapse-icons script