enhance ability to detect stream open tag