fix on publish with tag