faster way to get tag value from a frame