extract mac for register services