fixed corrupt packets fin-ing (hopefully)