remove unnecessary text element