remove text properties when search using ag