fix to restrict multiple device to same domain.