fixed packet creawtion