sami_tag_parser(), change routine