replacing NetworkMessage attribute pointer by not pointer