remove duplicated icon function