Initializer fix
Writes packet headers