remove icon logic