Fixed the writeback packet constructor