fix dog register macId