fixing packet constructor calls