fix: tag only created when needed