fix windows package bugs