assign correct pointer to data header