fix window packet