fix windows publishing