Fix packet mode