Fix packet magic