better icon detection