fix a bug in the handling of tag
bump up version