Fix some packet stuff